package com.lut.annotation;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liuning
 * @ProjectName AnnotationAndReflect
 * @time 2021/12/24 23:31
 */
//内置注解
public class Test01 extends Object{
    @Override
    public String toString() {
        return super.toString();
    }
    @Deprecated
    public static void test1(){
        System.out.println("被弃用了");
    }
    @SuppressWarnings("all")
    public void test2(){
        List list = new ArrayList();
    }

    public static void main(String[] args) {
        test1();
    }
}
